<template>
    <span>
        <template v-if="action == 'edit' ">
            <el-input v-on="$listeners" :value="value" type="textarea" placeholder="请输入内容"></el-input>
        </template>
        <template v-if="action == 'search' ">
            <el-input v-on="$listeners" :value="value" :placeholder="fieldName"></el-input>
        </template>
        <template v-if="action == 'table'">
            {{value}}
        </template>
    </span>
</template>
<script>
    import base from './base.js';

    export default {
        extends: base,
        props: {},
        data() {
            return {
                searchModel: 'like',
            }
        },
    }
</script>
<style>
</style>
